Fix the behaviour of the 'run' command
authorTimo Ketola <[email protected]>
Sun, 22 Apr 2012 23:57:27 +0000 (23:57 +0000)
committerWolfgang Denk <[email protected]>
Mon, 23 Apr 2012 20:07:00 +0000 (22:07 +0200)
commit030fca5228a2a1e946ac13ff8fae9ccb8c516d7b
tree71c7147d8841668e40447c890db542af1380a433
parent2790bf69dc12fb9aeb9836904e5f57c7f83d5552
Fix the behaviour of the 'run' command

If one command fails, 'run' command should terminate and not execute
any remaining variables.

Signed-off-by: Timo Ketola <[email protected]>
Tested-by: Wolfgang Denk <[email protected]>
Tested-by: Simon Glass <[email protected]>
Acked-by: Simon Glass <[email protected]>
common/main.c